package com.ajzhang.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * BillType entity. @author MyEclipse Persistence Tools
 */

public class BillType implements java.io.Serializable {

	// Fields

	private Integer billTypeId;
	private String name;
	private Boolean income;
	private Set bills = new HashSet(0);
	private Set budgets = new HashSet(0);

	// Constructors

	/** default constructor */
	public BillType() {
	}

	/** minimal constructor */
	public BillType(String name) {
		this.name = name;
	}

	/** full constructor */
	public BillType(String name, Boolean income, Set bills, Set budgets) {
		this.name = name;
		this.income = income;
		this.bills = bills;
		this.budgets = budgets;
	}

	// Property accessors

	public Integer getBillTypeId() {
		return this.billTypeId;
	}

	public void setBillTypeId(Integer billTypeId) {
		this.billTypeId = billTypeId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Boolean getIncome() {
		return this.income;
	}

	public void setIncome(Boolean income) {
		this.income = income;
	}

	public Set getBills() {
		return this.bills;
	}

	public void setBills(Set bills) {
		this.bills = bills;
	}

	public Set getBudgets() {
		return this.budgets;
	}

	public void setBudgets(Set budgets) {
		this.budgets = budgets;
	}

}